package router

import (
	"gin_app01/controller"

	"github.com/gin-gonic/gin"
)

// InitUserAPI user模块的api配置
func InitUserAPI(Router *gin.RouterGroup) {
	api := Router.Group("user")
	{
		api.GET("", controller.GetAll)
		api.POST("", controller.Post)
	}
}
